package cn.sh.library.mgts.bean;

public class DataSyncLog {
	private String syncStartTime;
	private String syncEndTime;
	private String syncType; // all/update
	private String date;
	private boolean isSuccess;
	
	public boolean isSuccess() {
		return isSuccess;
	}
	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}
	public String getSyncStartTime() {
		return syncStartTime;
	}
	public void setSyncStartTime(String syncStartTime) {
		this.syncStartTime = syncStartTime;
	}
	public String getSyncEndTime() {
		return syncEndTime;
	}
	public void setSyncEndTime(String syncEndTime) {
		this.syncEndTime = syncEndTime;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getSyncType() {
		return syncType;
	}
	public void setSyncType(String syncType) {
		this.syncType = syncType;
	}
	
	public void allSync() {
		this.syncType = "all";
	}
	
	public void updateSync() {
		this.syncType = "update";
	}
	
}
